<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改信息</title>
</head>
<body>
	<table>
		<tr>
			<td><h1>千锋图书管理系统</h1></td>
			<td>欢迎${loginedInfo.name}回来！</td>
			<td><a
				href="${pageContext.request.contextPath}/admin?action=exit">退出</a></td>
		</tr>
	</table>
	<hr/>
	<table align="center" border="1px" width="500px" cellpadding="5px" cellspacing="0px" />
	<caption>
		<h1>图书管理系统</h1>
	</caption>
	<form action="${pageContext.request.contextPath}/book?action=update"
		method="post">
		<tr>
			<td>图书名称</td>
			<td><input type="text" name="name" id="name"
				value="${book.name}"> <input type='hidden' name='bid'
				value='${book.bid}'></td>
		</tr>
		<tr>
			<td>图书作者</td>
			<td><input type="text" name="author" id="author"
				value="${book.author}"></td>
		</tr>
		<tr>
			<td>图书出版社</td>
			<td><input type="text" name="publish" id="publish"
				value="${book.publish}"></td>
		</tr>
		<tr>
			<td>图书价格</td>
			<td><input type="text" name="price" id="price"
				value="${book.price}"></td>
		</tr>
		<tr>
			<td>上架时间</td>
			<td><input type="date" name="crtTime" id="crtTime"
				value="${book.crtTime}"></td>
		</tr>

		<tr align="center">
			<td colspan="2"><input type="submit" value="修改"> <input
				type="reset" value="清空"></td>
		</tr>

	</form>
	</table>
</body>
</html>